package com.fuyun.rpc.client.fault.tolerant;

import com.fuyun.rpc.common.domain.RpcResponse;
import lombok.extern.slf4j.Slf4j;

import java.util.Map;

/**
 * 失败静默
 *
 * @author: zrq1351
 * @date: 2025/2/17
 */
@Slf4j
public class FailSafeTolerantStrategy implements TolerantStrategy {

	@Override
	public RpcResponse doTolerant(Map<String, Object> context, Exception e) {
		log.warn("静默处理异常", e);
		return new RpcResponse();
	}
}